package cate.game.train.furniture.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.furniture.Furniture;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄身上手办数据更新の 返回")
public class FurnitureUpdateResp implements MsgOutput {
    @NoteField(value = "手办")
    public Furniture furniture;

    @NoteField(value = "英雄uid")
    public String heroUid;

    @NoteField(value = "位置")
    public byte pos;

    public FurnitureUpdateResp(){

    }

    public FurnitureUpdateResp(Furniture furniture, String heroUid, byte pos){
        this.furniture = furniture;
        this.heroUid = heroUid;
        this.pos = pos;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.FURNITURE_UPDATE_RESP;
    }
}
